﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class InviteRuleInfoConfig : EntityTypeConfiguration<InviteRuleInfo>
    {
        public InviteRuleInfoConfig()
        {
            ToTable("Himall_InviteRule");
            Property(item => item.ShareDesc).HasColumnType("varchar").HasMaxLength(1000);
            Property(item => item.ShareIcon).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.ShareRule).HasColumnType("varchar").HasMaxLength(1000);
            Property(item => item.ShareTitle).HasColumnType("varchar").HasMaxLength(100);
        }
    }
}
